<template>
  <div>
    <el-button type="custom" @click="handleAdd()">新增栏目</el-button>
    <!-- <el-row :gutter="20" type="flex">
      <el-col :span="6">
        <el-input
          placeholder="请输入分类名称"
          v-model="listQueryIn.name"
          clearable
        >
        </el-input>
      </el-col>
      <el-col :span="6">
        <el-button type="custom" @click="refreshList()" plain>搜索</el-button>
        <el-button type="custom" @click="handleAdd()">新增</el-button>
      </el-col>
    </el-row> -->
  </div>
</template>
<script>
export default {
  data() {
    return {
      listQueryIn: {
        name: '',
        classType: '',
      },
    }
  },
  methods: {
    refreshList() {
      this.$bus.$emit('refreshExamClassifyList', this.listQueryIn)
    },
    handleAdd() {
      this.$bus.$emit('showDialogExamClassifyAdd')
    },
  },
}
</script>